package cn.wolfcode.trip.base.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;
@Setter
@Getter
public class Commodity extends BaseDomain{

    public static final int STATE_SHOPCAT=0;//放在购物车
    public static final int STATE_PAYMENT=1;//已支付
    public static final int STATE_NORMAL=2;//正常


    private String coverUrl;//封面

    private String title;//标题

    private Integer integral;//商品积分

    private Integer inventory;//商品库存

    private Date uploadDate;//上传时间

    private Integer state=STATE_NORMAL;//状态

}